<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>声影汇</title>

    <!-- Bootstrap -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
      <script src="https://fastly.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
      <script src="https://fastly.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" href="./css/index.css">
    <link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css">
  </head>
  <body>
    <div class="header"></div>
  
    <div class="banner-content music-content">
      <div class="container banner-main">
        <div class="banner-body">
          <h1 class="banner-title">视频素材，我们更专业</h1>
          <div class="input-group banner-search">
            <input type="text" class="form-control" placeholder="输入关键词">
            <span class="input-group-btn">
              <button class="btn btn-default" type="button">搜索</button>
            </span>
          </div>
          <div class="search-list">
            <ul>
              <li><a href="javascript:;">片头</a></li>
              <li><a href="javascript:;">科技</a></li>
              <li><a href="javascript:;">疫情</a></li>
              <li><a href="javascript:;">地产</a></li>
              <li><a href="javascript:;">地图</a></li>
              <li><a href="javascript:;">快闪</a></li>
              <li><a href="javascript:;">片头</a></li>
              <li><a href="javascript:;">科技</a></li>
              <li><a href="javascript:;">疫情</a></li>
              <li><a href="javascript:;">地产</a></li>
              <li><a href="javascript:;">地图</a></li>
              <li><a href="javascript:;">快闪</a></li>
            </ul>
            <a href="javascript:;">更多</a>
          </div>
          <div class="main-list">
            <ul class="row">
              <li class="col-md-3 col-sm-3 col-xs-3">
                <img src="./images/download.png" alt="">
                <p>极速下载</p>
                <p>多节点不限速</p>
              </li>
              <li class="col-md-3 col-sm-3 col-xs-3">
                <img src="./images/shouquan.png" alt="">
                <p>正版授权</p>
                <p>十万维权保障金</p>
              </li>
              <li class="col-md-3 col-sm-3 col-xs-3">
                <img src="./images/update.png" alt="">
                <p>海量更新</p>
                <p>数万供稿人入驻</p>
              </li>
              <li class="col-md-3 col-sm-3 col-xs-3">
                <img src="./images/shouhou.png" alt="">
                <p>贴心售后</p>
                <p>质量问题直接退</p>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </div>

    <div class="syh-find-music">
      <div class="container">
        <div class="shy-find-title">
          <h3>精选歌单</h3>
          <p>创建歌单也能赚钱</p>
        </div>
        <ul class="row shy-find-music-list">
          <div class="col-md-3">
            <li>
              <div class="shy-find-music-item">
                <div>
                  <img src="./images/tc81.png" alt="" width="50" height="50" style="border-radius: 15px;border: 1px solid #fff;">
                </div>
                <div class="shy-des-detail">
                  <div>
                    <img src="./images/24gf-playCircle.png" alt="" width="20">
                    <span>播放全部30首</span>
                  </div>
                  <div>
                    <span>1455播放</span>
                    <span>2喜欢</span>
                    <span>3购买</span>
                  </div>
                </div>
              </div>
              <div class="shy-des-detail-title">广告片宣传片配乐</div>
            </li>
          </div>
          <div class="col-md-3">
            <li>
              <div class="shy-find-music-item">
                <div>
                  <img src="./images/tc83.png" alt="" width="50" height="50" style="border-radius: 15px;border: 1px solid #fff;">
                </div>
                <div class="shy-des-detail">
                  <div>
                    <img src="./images/24gf-playCircle.png" alt="" width="20">
                    <span>播放全部30首</span>
                  </div>
                  <div>
                    <span>1455播放</span>
                    <span>2喜欢</span>
                    <span>3购买</span>
                  </div>
                </div>
              </div>
              <div class="shy-des-detail-title">广告片宣传片配乐</div>
            </li>
          </div>
          <div class="col-md-3">
            <li>
              <div class="shy-find-music-item">
                <div>
                  <img src="./images/tc85.png" alt="" width="50" height="50" style="border-radius: 15px;border: 1px solid #fff;">
                </div>
                <div class="shy-des-detail">
                  <div>
                    <img src="./images/24gf-playCircle.png" alt="" width="20">
                    <span>播放全部30首</span>
                  </div>
                  <div>
                    <span>1455播放</span>
                    <span>2喜欢</span>
                    <span>3购买</span>
                  </div>
                </div>
              </div>
              <div class="shy-des-detail-title">广告片宣传片配乐</div>
            </li>
          </div>
          <div class="col-md-3">
            <li>
              <div class="shy-find-music-item">
                <div>
                  <img src="./images/tc87.png" alt="" width="50" height="50" style="border-radius: 15px;border: 1px solid #fff;">
                </div>
                <div class="shy-des-detail">
                  <div>
                    <img src="./images/24gf-playCircle.png" alt="" width="20">
                    <span>播放全部30首</span>
                  </div>
                  <div>
                    <span>1455播放</span>
                    <span>2喜欢</span>
                    <span>3购买</span>
                  </div>
                </div>
              </div>
              <div class="shy-des-detail-title">广告片宣传片配乐</div>
            </li>
          </div>
        </ul>
        <div class="shy-find-control-btn">
          <input type="button" value="查看更多">
        </div>
      </div>
    </div>

    <div>
      <div class="shy-best-item">
        <h3>发现好音乐</h3>
        <p>您的项目值得更好的</p>
      </div>
      <div class="container">
        <div class="shy-filter-option">
          <select name="" id="">
            <option value="">情绪</option>
          </select>
          <select name="" id="">
            <option value="">节奏感</option>
          </select>
          <select name="" id="">
            <option value="">唱腔</option>
          </select>
          <select name="" id="">
            <option value="">鼓点</option>
          </select>
        </div>
        <ul class="shy-play-item">
          <li>
            <div class="shy-play-item-left">
              <img src="./images/tc85.png" alt="" width="50" height="50">
              <div>
                <div class="shy-play-item-title">
                  <span>春节敲锣打鼓好运来</span>
                  <span>ID：25999</span>
                  <span>2666播放</span>
                  <span>26喜欢</span>
                  <span>26购买</span>
                </div>
                <div style="margin: 10px 0;">
                  <!-- <a href="javascript:;" onclick="syhAudioPlay()">
                    <img src="./images/tc89.png" alt="" class="img-responsive">
                  </a> -->
                  <ul class="shy-music-play-item clearfix">
                  </ul>
                </div>
                <div class="shy-play-item-label">
                  <span>4K</span>
                  <span>风景</span>
                  <span>超级风景</span>
                </div>
              </div>
            </div>
            <div class="shy-item-control-btn">
              <div class="shy-item-status-btn">
                <img src="./images/copy.png" alt="">
                <img src="./images/zf.png" alt="">
                <img src="./images/xz.png" alt="">
                <img src="./images/icon_add.png" alt="">
              </div>
              <div>
                <span>刘***文 使用过</span>
                <input type="button" value="购买" style="padding: 8px 30px;background-color: #f56d0f;border-radius: 5px;border: 0;color: #fff;margin-left: 10px;">
              </div>
            </div>
          </li>
          <li>
            <div class="shy-play-item-left">
              <img src="./images/tc85.png" alt="" width="50" height="50">
              <div>
                <div class="shy-play-item-title">
                  <span>春节敲锣打鼓好运来</span>
                  <span>ID：25999</span>
                  <span>2666播放</span>
                  <span>26喜欢</span>
                  <span>26购买</span>
                </div>
                <div style="margin: 10px 0;">
                  <a href="javascript:;">
                    <img src="./images/tc89.png" alt="" class="img-responsive">
                  </a>
                </div>
                <div class="shy-play-item-label">
                  <span>4K</span>
                  <span>风景</span>
                  <span>超级风景</span>
                </div>
              </div>
            </div>
            <div class="shy-item-control-btn">
              <div class="shy-item-status-btn">
                <img src="./images/copy.png" alt="">
                <img src="./images/zf.png" alt="">
                <img src="./images/xz.png" alt="">
                <img src="./images/icon_add.png" alt="">
              </div>
              <div>
                <span>刘***文 使用过</span>
                <input type="button" value="购买" style="padding: 8px 30px;background-color: #f56d0f;border-radius: 5px;border: 0;color: #fff;margin-left: 10px;">
              </div>
            </div>
          </li>
          <li>
            <div class="shy-play-item-left">
              <img src="./images/tc85.png" alt="" width="50" height="50">
              <div>
                <div class="shy-play-item-title">
                  <span>春节敲锣打鼓好运来</span>
                  <span>ID：25999</span>
                  <span>2666播放</span>
                  <span>26喜欢</span>
                  <span>26购买</span>
                </div>
                <div style="margin: 10px 0;">
                  <a href="javascript:;">
                    <img src="./images/tc89.png" alt="" class="img-responsive">
                  </a>
                </div>
                <div class="shy-play-item-label">
                  <span>4K</span>
                  <span>风景</span>
                  <span>超级风景</span>
                </div>
              </div>
            </div>
            <div class="shy-item-control-btn">
              <div class="shy-item-status-btn">
                <img src="./images/copy.png" alt="">
                <img src="./images/zf.png" alt="">
                <img src="./images/xz.png" alt="">
                <img src="./images/icon_add.png" alt="">
              </div>
              <div>
                <span>刘***文 使用过</span>
                <input type="button" value="购买" style="padding: 8px 30px;background-color: #f56d0f;border-radius: 5px;border: 0;color: #fff;margin-left: 10px;">
              </div>
            </div>
          </li>
        </ul>
        <div style="text-align: center;margin: 35px 0;">
          <input type="button" value="更多好音乐" style="background-color: #f56d0f;border-radius: 15px;padding: 5px 20px;border: 0;color: #fff;">
        </div>
      </div>
      <div class="syh-join">
        <div class="syh-join-title">
          <h3>入驻声影汇音乐</h3>
          <p>收益服务有保障</p>
        </div>
        <div class="container">
          <div class="row">
            <div class="col-md-4">
              <div class="syh-join-main-item">
                <img src="images/ll.png" alt="" class="img-responsive center-block">
                <h3>流量有保障</h3>
                <p>声影汇业务矩阵百万级刚需流量植入</p>
                <p>让您的音乐更有价值</p>
              </div>
            </div>
            <div class="col-md-4">
              <div class="syh-join-main-item">
                <img src="images/ll.png" alt="" class="img-responsive center-block">
                <h3>流量有保障</h3>
                <p>声影汇业务矩阵百万级刚需流量植入</p>
                <p>让您的音乐更有价值</p>
              </div>
            </div>
            <div class="col-md-4">
              <div class="syh-join-main-item">
                <img src="images/ll.png" alt="" class="img-responsive center-block">
                <h3>流量有保障</h3>
                <p>声影汇业务矩阵百万级刚需流量植入</p>
                <p>让您的音乐更有价值</p>
              </div>
            </div>
          </div>
        </div>
        <div style="text-align: center;margin: 35px 0 0;padding-bottom: 35px;">
          <input type="button" value="申请成为供应商" style="background-color: #f56d0f;border-radius: 15px;padding: 5px 20px;border: 0;color: #fff;">
        </div>
      </div>
    </div>

    <audio src="./media/1.mp3" id="shyAudio">Your browser does not support the <code>audio</code> element.</audio>

    <div class="footer"></div>
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="https://fastly.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
    <script src="./js/index.js"></script>
    <script src="https://unpkg.com/swiper/swiper-bundle.min.js"> </script>
    <script>
      var mySwiper = new Swiper ('.swiper', {
        direction: 'horizontal', // 水平切换选项
        loop: true, // 循环模式选项
        slidesPerView: 4,
        spaceBetween: 30,
        freeMode: true
      })
      function syhAudioPlay () {
        if ($('#shyAudio')[0].paused) {
          $('#shyAudio')[0].play()
        } else {
          $('#shyAudio')[0].pause()
        }
      }
      for (let i = 0; i < Math.floor($('.shy-music-play-item').width() / 4); i++) {
        $('.shy-music-play-item').append(`<li class="pull-left" style="height: ${Math.floor(Math.random()*(30-1)+1)}px;"></li>`)
      }
      $('.shy-music-play-item li').click(function () {
        $(this).siblings().css('background-color', '#d5d5d5')
        $(this).prevAll().css('background-color', '#f56d0f')
        $('#shyAudio')[0].play()
        $('#shyAudio')[0].currentTime = $('#shyAudio')[0].duration * ($(this).prevAll().length / (Math.floor($('.shy-music-play-item').width() / 4)))
        let num = $(this).index()
        for(var i = 1; i < 100; i++) {
          clearInterval(i)
        }
        var timer = setInterval(() => {
          for (let i = 0; i < num; i++) {
            $('.shy-music-play-item li').eq(i).css('background-color', '#f56d0f')
          }
          num += 1
          if (num == $('.shy-music-play-item li').length + 1) {
            clearInterval(timer)
          }
        }, 1000)
      })
    </script>
  </body>
</html>